/*
 * MaxGainGoldResource.h
 *
 *  Created on: 2014. 2. 5.
 *      Author: jjaehuny
 */

#ifndef PROJECTZ_NRESOURCE_MAXGAINGOLDRESOURCE_H_
#define PROJECTZ_NRESOURCE_MAXGAINGOLDRESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class MaxGainGoldResource
{
public:
	struct Flyweight
	{
		int _DUNGEONTID;
		int _MAX_GOLD;
	};

public:
	MaxGainGoldResource();
	virtual ~MaxGainGoldResource();

	bool 	LoadResource();
	int		GetMaxGold(int dungeonTid);

private:
	typedef std::map<int, Flyweight *>	DATATREE;
	DATATREE	_clsFlyTree;
};

} /* NResource */ } /* ProjectZ */

#endif /* PROJECTZ_NRESOURCE_MAXGAINGOLDRESOURCE_H_ */
